using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class IOP : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {
        IHero myHero = new Leblanc();
        myHero.SkillQ();
    }

}

public interface IHero
{
    void SkillQ();
    void SkillW();
    void SkillE();
    void SkillR();
}

public class Leblanc : IHero
{
    public void SkillQ()
    {
        Debug.Log('Q');
    }
    public void SkillE()
    {
        Debug.Log('E');
    }

    public void SkillR()
    {
        Debug.Log('R');
    }

    public void SkillW()
    {
        Debug.Log('W');
    }
}
